Phần mềm vẽ đồ thị C#
6.575 lượt xem;
- ExpressionHelper.cs
- project /
1 using System;
2 using System.Collections.Generic;
3 using System.Text;
4 using System.Data;
5 using System.Collections;
6
7 namespace VietGraph
8 {
9 class ExpressionHelper
10 {
11 public static ArrayList _arrExpression = new ArrayList();
12 public static bool _cartesian = false;
13 public static bool _polar = false;
14 public static double _xStartValue = -1;
15 public static double _xEndValue = -1;
16 public static bool _blnDo = false;
17 public static bool _blnRadian = true;
18
19 public static ArrayList ArrExpression
20 {
21 get { return _arrExpression; }
22 set { _arrExpression = value; }
23 }
24
25 public static bool Cartesian
26 {
27 get { return _cartesian; }
28 set { _cartesian = value; }
29 }
30
31 public static bool Polar
32 {
33 get { return _polar; }
34 set { _polar = value; }
35 }
36
37 public static double XStartValue
38 {
39 get { return _xStartValue; }
40 set { _xStartValue = value; }
41 }
42
43 public static double XEndValue
44 {
45 get { return _xEndValue; }
46 set { _xEndValue = value; }
47 }
48
49 public static bool BlnDo
50 {
51 get { return _blnDo; }
52 set { _blnDo = value; }
53 }
54
55 public static bool BlnRadian
56 {
57 get { return _blnRadian; }
58 set { _blnRadian = value; }
59 }
60 }
61 }
2 using System.Collections.Generic;
3 using System.Text;
4 using System.Data;
5 using System.Collections;
6
7 namespace VietGraph
8 {
9 class ExpressionHelper
10 {
11 public static ArrayList _arrExpression = new ArrayList();
12 public static bool _cartesian = false;
13 public static bool _polar = false;
14 public static double _xStartValue = -1;
15 public static double _xEndValue = -1;
16 public static bool _blnDo = false;
17 public static bool _blnRadian = true;
18
19 public static ArrayList ArrExpression
20 {
21 get { return _arrExpression; }
22 set { _arrExpression = value; }
23 }
24
25 public static bool Cartesian
26 {
27 get { return _cartesian; }
28 set { _cartesian = value; }
29 }
30
31 public static bool Polar
32 {
33 get { return _polar; }
34 set { _polar = value; }
35 }
36
37 public static double XStartValue
38 {
39 get { return _xStartValue; }
40 set { _xStartValue = value; }
41 }
42
43 public static double XEndValue
44 {
45 get { return _xEndValue; }
46 set { _xEndValue = value; }
47 }
48
49 public static bool BlnDo
50 {
51 get { return _blnDo; }
52 set { _blnDo = value; }
53 }
54
55 public static bool BlnRadian
56 {
57 get { return _blnRadian; }
58 set { _blnRadian = value; }
59 }
60 }
61 }